gdkwindow-win32.c: Fix build on Visual C++
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 6 Aug 2014 05:06:35 +0000 (13:06 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 6 Aug 2014 07:13:09 +0000 (15:13 +0800)
commit781846e5645cad1726718ad3527829c8451a724a
treef5167ba8c25ee2bafc1eefd1b7ab94249327a568
parent7a3bc9a5ff3620254b4be67ca18bc7ca8ce21e74
gdkwindow-win32.c: Fix build on Visual C++

Since MSVC is more strict about the types that we try to do a compare, cast
old_ptr as HWND, as we know that it is a pointer...

https://bugzilla.gnome.org/show_bug.cgi?id=733768
gdk/win32/gdkwindow-win32.c